package com.itbbfx.service.register.impl;

import com.itbbfx.entity.CCashier;
import com.itbbfx.entity.CPharmacy;
import com.itbbfx.entity.Coutpatienttype;
import com.itbbfx.entity.ReportVo;
import com.itbbfx.mapper.register.PrescriptionMapper;
import com.itbbfx.service.register.PrescriptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrescriptionServiceImpl implements PrescriptionService {

    @Autowired
    private PrescriptionMapper prescriptionMapper;

    @Override
    public List<CPharmacy> selOutpatientCharges(Coutpatienttype coutpatienttype) {
        return prescriptionMapper.selOutpatientCharges(coutpatienttype);
    }

    @Override
    public Double selch(CCashier cCashier) {
        return prescriptionMapper.selch(cCashier);
    }

    @Override
    public Integer addChu(CCashier cCashier) {
        return prescriptionMapper.addChu(cCashier);
    }

    @Override
    public Integer shoufei(ReportVo reportVo) {
        return prescriptionMapper.shoufei(reportVo);
    }

    @Override
    public Integer guafei(ReportVo reportVo) {
        return prescriptionMapper.guafei(reportVo);
    }
}
